Skip to content

ext/standard: Reject NUL bytes in openlog()#22366

Merged
LamentXU123 merged 1 commit into
php:masterfrom
LamentXU123:reject-null-openlog
Jun 20, 2026
Merged

ext/standard: Reject NUL bytes in openlog()#22366
LamentXU123 merged 1 commit into
php:masterfrom
LamentXU123:reject-null-openlog

Conversation

@LamentXU123

Copy link
Copy Markdown
Contributor

Ah I overlook the openlog function in the standard extension with the same problem of #22358 while I am auditing these functions in this extension yesterday. See here

Now with this patch I could say every function in the std extension of php no longer has the NUL bytes issue anymore (except for #21675) :-) Good to see those aged shitty risks being fixed.

@Girgias Can you please have a quick look on this? Thanks!

@LamentXU123 LamentXU123 merged commit cc545f3 into php:master Jun 20, 2026
33 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants